namespace LeanAndon.Services.Communication
{
    using System;
    using System.ServiceModel;
    using System.ServiceModel.Channels;

    [ServiceContract]
    public interface INotification
    {
        [OperationContract(IsOneWay = true, AsyncPattern = true, Action = NotificationData.NotificationAction)]
        IAsyncResult BeginNotify(Message message, AsyncCallback callback, object state);
        void EndNotify(IAsyncResult result);
    }
    
}